Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## rdlc.hw
Class ModuleInstance_Standard.MessageStruct_Fixed

    java.lang.Object
      rdlc.hw.ModuleInstance_Standard.Message_Fixed
          rdlc.hw.ModuleInstance_Standard.MessageStruct_Fixed

Enclosing class:
  ModuleInstance_Standard

    protected static class ModuleInstance_Standard.MessageStruct_Fixed

extends ModuleInstance_Standard.Message_Fixed

This class represents a fixed width structured message. Packing is a simple matter of concatentation and unpacking is a simple matter of bit selection.

Version:
  $Revision: 1.18 $
Author:
  Greg Gibeling

Field Summary
`protected java.util.List<ModuleInstance_Standard.Message_Fixed>` | `childList` A list of the fields of this struct.

Fields inherited from class rdlc.hw.ModuleInstance_Standard.Message_Fixed
`dataWire, instance, name, width`

Constructor Summary
`ModuleInstance_Standard.MessageStruct_Fixed(java.lang.String _name, ModuleInstance_Standard _instance, Message message)`

Method Summary
`void` | `generatePack(ModuleParameterGroup portParamGroup, ModuleWireGroup packWireGroup, int widthBits, int extraWidth)` Generate the packing logic for this message object.
`void` | `generateUnpack(Expression source, ModuleWireGroup unpackWireGroup)` Generate the unpacking logic for this message object.

Methods inherited from class rdlc.hw.ModuleInstance_Standard.Message_Fixed
`getWidthExpr`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Field Detail

### childList

    protected java.util.List<ModuleInstance_Standard.Message_Fixed> childList

  A list of the fields of this struct.

Constructor Detail

### ModuleInstance_Standard.MessageStruct_Fixed

    public ModuleInstance_Standard.MessageStruct_Fixed(java.lang.String _name,
                                                       ModuleInstance_Standard _instance,
                                                       Message message)

See Also:
  `Message_Fixed#Message_Fixed(String, ModuleInstance_Standard, Message)`

Method Detail

### generatePack

    public void generatePack(ModuleParameterGroup portParamGroup,
                             ModuleWireGroup packWireGroup,
                             int widthBits,
                             int extraWidth)

  Description copied from class: `ModuleInstance_Standard.Message_Fixed`
  Generate the packing logic for this message object.

  Specified by:
    `generatePack` in class `ModuleInstance_Standard.Message_Fixed`
  Parameters:
    `portParamGroup` - The port's parameter group.
    `packWireGroup` - The wire group for all intermediate wires.
    `widthBits` - The number of bits of width to carry.
    `extraWidth` - The additional width requested by the link.
  See Also:
    `ModuleInstance_Standard.Message_Fixed.generatePack(ModuleParameterGroup, ModuleWireGroup, int, int)`

### generateUnpack

    public void generateUnpack(Expression source,
                               ModuleWireGroup unpackWireGroup)

  Description copied from class: `ModuleInstance_Standard.Message_Fixed`
  Generate the unpacking logic for this message object.

  Specified by:
    `generateUnpack` in class `ModuleInstance_Standard.Message_Fixed`
  Parameters:
    `source` - The expression which gives the source data for this message.
    `unpackWireGroup` - The wire group for all intermediate wires.
  See Also:
    `ModuleInstance_Standard.Message_Fixed.generateUnpack(Expression, ModuleWireGroup)`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD